import request from '@/utils/request'

export function getSettingList(params) {
  return request({
    url: '/api/settings',
    method: 'GET',
    params
  })
}

export function updateSetting(setting) {
  return request({
    url: '/api/settings/',
    method: 'PUT',
    data: setting
  })
}
